package com.smart.modeldesign;

/**
 * @PackageName: com.smart.modeldesign
 * @ClassName: Test
 * @Description:
 * @author: hgx61
 * @date: 2024/9/20 17:25
 */

public class Test {


  public static void main(String[] args) {

    System.out.println("开始生产产品 测试 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");

    ProuctOrder prouctOrder=new ProuctOrder(new AaaProduct());
    FactoryAdministrator factoryAdministrator = new FactoryAdministrator();
    factoryAdministrator.acceptOrder(prouctOrder);


    System.out.println("结束生产产品 测试 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
  }

}
